<%--
  Created by IntelliJ IDEA.
  User: Tang'ya'kang
  Date: 2023/5/28
  Time: 18:21
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>找回密码</title>
</head>
<%@ include file="head.jsp"%>
<body>
<div class="card">
    <div class="card-body">
        <h5 class="card-title" align="center">找回密码</h5>
        <div class="card-body">
            <form action="./emailServlet" method="post">
                <input type="hidden" name="action" value="SelectByEmail">
                <div class="form-group">
                    <label> 您之前绑定的邮箱号 </label>
                    <input type="text" class="form-control" name="ToEmail" value="${requestScope.ToEmail}">
                </div>

                <button type="submit" class="btn btn-primary">确定</button>
                <label align-self="center"> <font color="red">${requestScope.status}</font></label>
            </form>
        </div>

    </div>
    <%@ include file="Foot.jsp"%>
</div>
</body>
</html>
